export function findUserCapacity() {
  return {
    url: 'storage/findUserCapacity',
    type: 'get',
    data: {
      "code": 200,
      "msg": null,
      "data": {
        id: 1,
        userId: 100,
        capacity: 1024,
        availAssign: 1024,
        availActual: 1024
      }
    }
  }
};

export function findAllAppCapacity() {
  return {
    url: 'storage/findAllAppCapacity',
    type: 'get',
    data: {
      "code": 200,
      "msg": null,
      "data": [
        {
          id: 1,
          userId: 100,
          appId: 10010,
          capacity: 1024,
          avail: 1024
        },
        {
          id: 2,
          userId: 100,
          appId: 10020,
          capacity: 1024,
          avail: 1024
        }
      ]
    }
  }
};

export function manageCapacity() {
  return {
    url: 'storage/manageCapacity',
    type: 'post',
    data: {
      "code": 200,
      "msg": null,
      "data": {}
    }
  }
};